package main

import (
    "flag"
    "fmt"
)

func main() {
    ok := flag.Bool("ok", false, "is ok")
    id := flag.Int("id", 0, "id")

        //这个方法很重要，
    flag.Parse()

    fmt.Println("ok:", *ok)
    fmt.Println("id:", *id)

	return 
    
}

